package com.kclm.xsap.dao;

import com.kclm.xsap.dto.UserDTO;
import com.kclm.xsap.entity.Employee;
import com.kclm.xsap.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author : lvhx
 * @Date: 2025/6/13 16:15
 * @Description:
 */
@Mapper
public interface LoginMapper {
    //根据用户名和密码查询用户的信息
    Employee   selectByNameAndPwd(@Param("name") String name, @Param("pwd") String pwd);
    //根据Id查询
    Employee selectById(Integer id);
    //根据Id 修改用户的信息
    int  update(UserVO userVO);
}
